export default function useAxureConfig(projectId: string) {
  const domain = `https://${projectId}.axshare.com`

  const docPrefix = `$axure.loadDocument((`
  const docSuffix = `);`

  return {
    domain,
    docUrl: `${domain}/data/document.js`,
    prefix: docPrefix,
    suffix: docSuffix
  }
}
